package com.fafu.domian.user;

import com.fasterxml.jackson.annotation.JsonIgnore;



public class User {
	private Integer id;
	private String username;
	//@JsonIgnore  JSON封装时，忽略注解属性
	@JsonIgnore
	private String password;
	private String name;
	@JsonIgnore
	private String status;
	@JsonIgnore
	private String code;
	@JsonIgnore
	private String createdate;

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", username='" + username + '\'' +
				", password='" + password + '\'' +
				", name='" + name + '\'' +
				", status='" + status + '\'' +
				", code='" + code + '\'' +
				", createdate='" + createdate + '\'' +
				'}';
	}

	public String getCreatedate() {
		return createdate;
	}

	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
